package com.sllp.C71S3TsllpShop.bean;

import java.sql.Timestamp;

public class Admin {
    private Integer id;

    private String loginName;

    private String trueName;

    private String pwd;

    private String tel;

    private String email;

    private Timestamp registerTime;

    private Integer power;

    private Integer loginState;

    private Integer state;

    private Integer image;
    
    private Image defaultImage;

    public Admin(Integer id, String loginName, String trueName, String pwd, String tel, String email, Timestamp registerTime, Integer power, Integer loginState, Integer state, Integer image) {
        this.id = id;
        this.loginName = loginName;
        this.trueName = trueName;
        this.pwd = pwd;
        this.tel = tel;
        this.email = email;
        this.registerTime = registerTime;
        this.power = power;
        this.loginState = loginState;
        this.state = state;
        this.image = image;
    }

    public Admin() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName == null ? null : trueName.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Timestamp getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Timestamp registerTime) {
        this.registerTime = registerTime;
    }

    public Integer getPower() {
        return power;
    }

    public void setPower(Integer power) {
        this.power = power;
    }

    public Integer getLoginState() {
        return loginState;
    }

    public void setLoginState(Integer loginState) {
        this.loginState = loginState;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getImage() {
        return image;
    }

    public void setImage(Integer image) {
        this.image = image;
    }

	public Image getDefaultImage() {
		return defaultImage;
	}

	public void setDefaultImage(Image defaultImage) {
		this.defaultImage = defaultImage;
	}
}